//
//  DataBaseOB.h
//  WidgetTest
//
//  Created by 李明明 on 15/10/28.
//  Copyright © 2015年 李明明. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>


@interface DataBaseOB : NSObject


@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (void)saveContext;
+ (instancetype)shareInstance;
@end
